﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using POS_NEW.Utilites;
using System.Resources;
using System.Threading;
using System.Globalization;

namespace POS_NEW
{
    public partial class frmMain : Form
    {
     
        public frmMain()
        {
            InitializeComponent();
            lbNgayLamViec.Text = "Ngày Làm Việc: " +myProgress.NgayLamViec;
            ultraSplitter1.Collapsed = true;
            

        }
        private void frmMain_Load(object sender, EventArgs e)
        {
            
        }
        private void timer1_Tick(object sender, EventArgs e)
        {
            string s = 

            lbTime.Text = DateTime.Now.ToString("dddd dd/MM/yyyy HH:mm:ss", new CultureInfo("vi-VN"));// +DateTime.Now.ToString(" ");
        }

        private void btnExit_Click(object sender, EventArgs e)
        {
            if(myProgress.ID_Empolyee == 1)
            Application.Exit();
        }

       
    }
}
